package com.zlx.exchange.domain.entity;

import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;


/**
 * (Message)表实体类
 *
 * @author makejava
 * @since 2023-09-02 16:43:24
 */
@TableName("message")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message implements Serializable {
    /**
     * 虚拟主键
     */
    private Integer id;
    /**
     * 发送者id
     */
    private Integer senderId;
    /**
     * 接收者id
     */
    private Integer reciverId;
    /**
     * 消息类型
     */
    private String type;
    /**
     * 消息内容
     */
    private String content;
    /**
     * 发送时间
     */
    private Date sendTime;
    /**
     * 是否为系统发送
     */
    private Boolean isSystemMessage;

}

